//
//  CommonQAModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/17.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CommonAnswerModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CommonQAModel : NSObject

@property (nonatomic, copy) NSString *mqId;

//领域id
@property (nonatomic, copy) NSString *paId;

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *answerNumber;

@property (nonatomic, copy) NSString *imgUrl;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *userId;


@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *createUser;

// 问题领域名称
@property (nonatomic, copy) NSString *fieldName;
@property (nonatomic, copy) NSString *isDel;

//是否下架1是2否
@property (nonatomic, copy) NSString *isUp;

@property (nonatomic, copy) NSString *remark;

//下架原因
@property (nonatomic, copy) NSString *upReasons;

@property (nonatomic, strong) NSMutableArray <CommonAnswerModel *>*userAnswerList;


//精彩回答
@property (nonatomic, strong) NSMutableArray <CommonAnswerModel *>*ordinaryAnswerList;

//优质回答
@property (nonatomic, strong) NSMutableArray <CommonAnswerModel *>*goodAnswerList;


@end

/*
 
 answerNumber    string
 答案数量

 content    string
 内容

 createTime    string
 创建时间

 createUser    string
 创建人

 fieldName    string
 问题领域名称

 goodAnswerList    [...]
 imgUrl    string
 用户头像

 isDel    string
 是否删除1是2否

 isUp    string
 是否下架1是2否

 mqId    string
 主键

 nickname    string
 用户昵称

 ordinaryAnswerList    PageInfoOf用户解答表{...}
 paId    string
 领域id

 remark    string
 备注

 title    string
 问题标题

 upReasons    string
 下架原因

 updateTime    string
 修改时间

 updateUser    string
 修改人

 userAnswerList    [...]
 userId    string
 用户id
 
 */




NS_ASSUME_NONNULL_END
